<#include "/common/head.ftl">

<@showTitle title="${i18n.getMessage('register')} > ${i18n.getMessage('list')}">
	<a href="#" onclick="cc('register/showAddRegister.sgt?candidateId=${(candidateId)!}');">${i18n.getMessage('register')}</a> | 
	<a href="#" onclick="cc('englishtest/showInfoCandidate.sgt?id=${(candidateId)!}');">${i18n.getMessage('candidate')} ${i18n.getMessage('info')}</a>
</@showTitle>

<br/>

<@display.table id="listTable" name="registers" pagesize="20">
	<@display.column title="${i18n.getMessage('date')}">${(listTable.date)!}</@display.column>
	<@display.column title="${i18n.getMessage('receipt.number')}">${(listTable.receiptNumber)!}</@display.column>
	<@display.column title="${i18n.getMessage('fee')}" class="right">${(listTable.fee.amount)!}</@display.column>
	<@display.column title="${i18n.getMessage('bank.account')}">${(listTable.bankAccount.number)!}</@display.column>
	
	<@display.column title="${i18n.getMessage('edit')}" class="center w050"><img src="images/edit.gif" style="cursor:pointer" onclick="cc('register/showEditRegister.sgt?id=${listTable.id}')"/></@display.column>
	<@display.column title="${i18n.getMessage('delete')}" class="center w050"><img src="images/delete.gif" style="cursor:pointer" onclick="if(confirm('${i18n.getMessage('dialog.delete')}')) { cc('register/deleteRegister.sgt?id=${listTable.id}'); }"/></@display.column>
</@display.table>

<script>